<template>
  <div id="app">
  <!-- <router-link to="/list">商品列表</router-link> -->
  <button @click="dj">点击商品列表</button>
  <button @click="handleClick">点击返回主页</button>
  <router-view></router-view>
  </div>
</template>

<script>
 export default {
      methods: {
      dj(){
        this.$router.push("/list")
      },
      handleClick(){
         this.$router.push("/views/HomeView.vue")
      }
    }
  }

</script>
